﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace WpfApplication1
{
    public class NoneVisualElement
        //: Freezable
        : DependencyObject
    {
        //protected override Freezable CreateInstanceCore()
        //{
        //    return this;
        //}

        public string Name
        {
            get { return (string)GetValue(NameProperty); }
            set { SetValue(NameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Name.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty NameProperty =
            DependencyProperty.Register("Name", typeof(string), typeof(NoneVisualElement), new PropertyMetadata(string.Empty, onNamePropertyChanged));

        private static void onNamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            
        }
    }
}
